package com.hgd.impl;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.hibernate.Session;
import com.hgd.DAO.DeviceDAO;
import com.hgd.ORM.Device;
import com.hgd.ORM.Domain;
import com.hgd.ORM.Task;
import com.hgd.hibernate.HibernateUtil;

@javax.jws.WebService(targetNamespace = "http://impl.hgd.com/", serviceName = "DeviceImplService", portName = "DeviceImplPort", wsdlLocation = "WEB-INF/wsdl/DeviceImplService.wsdl")
public class DeviceImplDelegate {

	com.hgd.impl.DeviceImpl deviceImpl = new com.hgd.impl.DeviceImpl();

	public List<Device> getDeviceInfo(int dmId) {
		return deviceImpl.getDeviceInfo(dmId);
	}

	public List<Domain> getAllDomain(int MSId) {
		return deviceImpl.getAllDomain(MSId);
	}

	public Device getDeviceByDid(int dId) {
		return deviceImpl.getDeviceByDid(dId);
	}

	public List<Task> getTaskByDid(int dId) {
		return deviceImpl.getTaskByDid(dId);
	}

	public int deviceDel(int dId) {
		return deviceImpl.deviceDel(dId);
	}

	public int deviceAdd(Device device, int dmId) {
		return deviceImpl.deviceAdd(device, dmId);
	}

	public void main(String[] args) {
		deviceImpl.main(args);
	}

}